package com.bcu.wish.mapper;

import com.bcu.wish.entity.Beginwish;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BeginwishMapper {
    int deleteByPrimaryKey(Integer beginwishId);

    int insert(Beginwish record);

    int insertSelective(Beginwish record);

    Beginwish selectByPrimaryKey(Integer beginwishId);

    int updateByPrimaryKeySelective(Beginwish record);

    int updateByPrimaryKey(Beginwish record);

    List<Beginwish> selectAll();

    Beginwish selectByUserId(@Param("userId")String userId);


}